<?php

class User {

	// association with Roll class
	private $role;

	// association with Address class
	//private $address=array();
	private $deliveryAddress;

	private $billAddress;

	// association with Subscription class
	private $subscription=array();

	private $sessionId;


	/* ERM Data */
	private $firstname;
	private $lastname;
	private $email;
	private $password;
	private $status;
	private $newsletter;
	private $userId;

	public function __construct() {

		return;
	}


	public function getRole() {
		return $this->role;
	}

	/**
	 * @return Address
	 * */
	public function getDeliveryAddress() {
		return $this->deliveryAddress;
	}

	public function getBillAddress() {
		return $this->billAddress;
	}

	public function getSubscription() {
		return $this->subscription;
	}

	public function getSessionId() {
		return $this->sessionId;
	}

	public function getFirstname() {
		return $this->firstname;
	}

	public function getLastname() {
		return $this->lastname;
	}

	public function getEmail() {
		return $this->email;
	}

	public function getPassword() {
		return $this->password;
	}

	public function getStatus() {
		return $this->status;
	}

	public function getNewsletter() {
		return $this->newsletter;
	}

	public function getUserId() {
		return $this->userId;
	}

	public function setRole($_role) {
		$this->role = $_role;
	}

	public function setDeliveryAddress(Address $_deliveryAddress) {
		$this->deliveryAddress = $_deliveryAddress;
	}

	public function setBillAddress($_billAddress) {
		$this->billAddress = $_billAddress;
	}

	public function setSubscription($_subscription) {
		$this->subscription = $_subscription;
	}

	public function setSessionId($_sessionId) {
		$this->sessionId = $_sessionId;
	}

	public function setFirstname($_firstname) {
		$this->firstname = $_firstname;
	}

	public function setLastname($_lastname) {
		$this->lastname = $_lastname;
	}

	public function setEmail($_email) {
		$this->email = $_email;
	}

	public function setPassword($_password) {
		$this->password = $_password;
	}

	public function setStatus($_status) {
		$this->status = $_status;
	}

	public function setNewsletter($_newsletter) {
		$this->newsletter = $_newsletter;
	}

	public function setUserId($_userId) {
		$this->userId = $_userId;
	}
}


?>
